cmake_minimum_required(VERSION 3.0.0)
project(CppLI VERSION 0.1.0)
# set(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_FLAGS "-std=c++17 -O3 -m64 -g")
SET(CMAKE_VERBOSE_MAKEFILE ON)

include(CTest)
enable_testing()
# file(GLOB lua_SRC
#     "lua-5.1.5/src/*.c"
# )
# list(REMOVE_ITEM lua_SRC "lua.c" "luac.c" )
# add_library(lua STATIC ${lua_SRC})
# set_target_properties(lua PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)

# add_executable(CppLI main.cpp)
file(GLOB helloworld_SRC
    # "src/*.c"
    "src/*.cpp"
    # "glfw-3.3.2/deps/glad_gl.c"
)

include_directories("include" "glfw-3.3.2/deps", "glm/glm")
# link_directories("lib")
# link_libraries("glfw.3" "lua")
add_executable(CppLI ${helloworld_SRC})
find_package(OpenMP)
target_link_libraries(CppLI PUBLIC OpenMP::OpenMP_CXX)


# set(CPACK_PROJECT_NAME ${PROJECT_NAME})
# set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
# include(CPack)
